package com.ins.model.dto.app;

import com.ins.model.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 推广记录(AppPromotion)实体类
 *
 * @author ins
 * @since 2024-05-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AppPromotionDTO extends BaseDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = -69675238619962692L;
    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 时效
     */
    private Integer times;
    /**
     * 价格
     */
    private BigDecimal price;
    /**
     * 开始时间
     */
    private LocalDateTime startTime;
    /**
     * 推广内容
     */
    private String content;
    /**
     * 状态，1推广中，2停止
     */
    private Integer status;

    /**
     * 剩余多少时长
     */
    private Long remainder;

}

